package AbstractTest;

import Package1.Student;

public class Test {
    public static void main(String[] args) {

        //抽象类不能实例化
        //Person p=new Person();   会报错

        Student s=new Student("haha",18);
        System.out.println(s.getName()+","+s.getAge());
    }
}
